<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp" %>
<!DOCTYPE HTML>
<html ng-app>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
    <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
    <title>${title}</title>
    <%@ include file="/WEB-INF/jsp/commons/meta.jsp" %>
    <link href="${ctx}/resources/new/style.css" type="text/css" rel="stylesheet"/>

</head>
<body>

<c:if test="${pointRule != null }">
    <table class="table table-striped table-bordered table-condensed">
        <input type="hidden" name="ruleId" id="ruleId" value="${pointRule.id}"/>
        <tr>
            <td class="span2">编号:</td>
            <td>
                    ${pointRule.code}
            </td>
        </tr>
        <tr>
            <td class="span2">积分码:</td>
            <td>
                    ${pointRule.iCode}
            </td>
        </tr>
        <tr>
            <td>积分规则:</td>
            <td>
                <input style="color: red;" id="cPoint" name="cPoint" class="span1" type="text"
                       value="${pointRule.point}"/>
                <span class="tBlue">正数增加积分，负数扣减积分</span>
            </td>
        </tr>


        <tr>
            <td>备注:</td>
            <td>
                    ${pointRule.memo}
            </td>
        </tr>
    </table>
</c:if>

<c:if test="${pointRule == null }">
    <span class="tRed">兑换积分码无效，请检查确认后重新输入！</span>
</c:if></body>
</html>